﻿@model bool?
@Html.DropDownListFor(m => m, 
                      new List<SelectListItem>()
                      {
                        new SelectListItem() { Text = @Resources.Shared.NotSet, Value = "", Selected = (Model == null || !Model.HasValue) },
                        new SelectListItem() { Text = @Resources.Shared.Yes, Value = "true", Selected = (Model != null && Model.HasValue && Model.Value) },
                        new SelectListItem() { Text = @Resources.Shared.No, Value = "false", Selected = (Model != null && Model.HasValue && !Model.Value) }
                      })